package com.meng.learn.swagger.vo;

import io.swagger.annotations.ApiModel;

/**
 *  用户VO
 */
@ApiModel(description= "返回响应数据")
public class UserVO {
    private int id;
    private String name;
    private String password;
    private String phone;
    private int age;

    public UserVO() {
    }

    public UserVO(int id, String name, int age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public UserVO(int id, String name, int age, String msg, String[] dream) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
